<include file="Public/header" title="订单预览"/>
<include file="Public/header_back"/>
    <article class="flex entrepreneurial-package">
        <div style="background:url({:$order_data['goods_pic']?$order_data['goods_pic']:'__PUBLIC__/home/images/package.jpg'}) no-repeat center;background-size:cover;"></div>
        <div class="flex-1">
            <section class="flex-justify">
                <span>{$order_data.goods_name}</span>
                <strong><i>￥</i>{$order_data.order_amount}</strong>
            </section>
            <p>{:strip_tags(html_entity_decode($order_data['goods_desc']))}</p>
        </div>
    </article>
    <section class="service-case clearfix">
        <span>所含服务</span>
        <span>{$order_data.contain_service}</span>
    </section>
    <section class="service-risk flex-justify">
        <span>风险提示<em>(请仔细阅读合同)</em></span>
        <a href="javascript:void(0)">查看合同</a>
    </section>
    <a href="javascript:void(0)" id="saveBtn" class="service-next next">我同意以上合同内容</a>
<script type="text/javascript">
$(function(){
	$('#saveBtn').click(function(){
		var pact = '{$pact}';
		$.post("{:U('Order/addOrder')}",{pact:pact},function(data){
			if(data.status == '1'){
				layer.msg(data.info);
				setTimeout("location.href='"+data.url+"'",1000);
			}else{
				layer.msg(data.info);
			}
		})
	})
})
</script>
<include file="Public/foot_nav"/>
<include file="Public/footer"/>


